Introduction to Calculus of Variation